package com.pubinfo.passbook.common.model.dto.financial;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@Accessors(chain = true)
public class ClaimRecord implements Serializable {
  
  private String eInvoiceId;
  private String claimAmount;
  private String remark;

  public ClaimRecord() {
  }
  public ClaimRecord(String eInvoiceId,String remark,String sum)
  {
    this.eInvoiceId=eInvoiceId;
    this.claimAmount=sum;
    this.remark=remark;
  }

  public static List<ClaimRecord> toClaimRecordList() {
    List<ClaimRecord> list = new ArrayList<>();
    ClaimRecord record1 = new ClaimRecord();
    //医疗类数据
    record1.setEInvoiceId("template_czpj_330602_570701121312206033").setClaimAmount("10.1");
    list.add(record1);
    ClaimRecord record2 = new ClaimRecord();
    record2.setEInvoiceId("template_czpj_330602_670701121312206033").setClaimAmount("10.1");
    //  list.add(record2);
    
    return list;
  }
}
